package net.bbtang.website.service;

import java.util.List;

import net.bbtang.website.pojo.UserPublishInfoDTO;

public interface UserPublishInfoService {
	
	boolean add(UserPublishInfoDTO dto);
	
	//StatusCode<> search();;
	
	List<UserPublishInfoDTO> search(Integer currentSize,Integer userId,Integer publishId
			,Integer publishType,Integer publishState,Integer userGroupId);
	
	List<UserPublishInfoDTO> searchAll( Integer userId, Integer publishId, Integer publishType,
			Integer publishState, Integer userGroupId) ;
	
	boolean cancel(UserPublishInfoDTO dto);
	
}
